package com.wly
{
	import com.wly.network.packet.CSLoginPkt;
	import com.wly.network.Connector;
	import flash.display.Sprite;

	/**
	 * @author Administrator
	 */
	public class TestMain extends Sprite
	{
		public function TestMain()
		{
			trace(this, "TestMain")
			var connect:Connector = new Connector();
			connect.connectto("127.0.0.1", 1122);
			var loginPkt:CSLoginPkt = new CSLoginPkt();
			loginPkt.getData().userName = "wly";
			loginPkt.getData().password = "123456";
			connect.sendPkg(loginPkt);
		}
	}
}
